﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace estudent.Models
{
    [DataObject(true)]
    public class IzpitInfo
    {
        public string datum { get; set; }
        public string predavalnica { get; set; }
        public string threeDayRule { get; set; }
        public string prijavljen { get; set; }

        public IzpitInfo(string datum, string predavalnica, string threeDayRule, string prijavljen)
        {
            this.datum = datum;
            this.predavalnica = predavalnica;
            this.threeDayRule = threeDayRule;
            this.prijavljen = prijavljen;
        }

        [DataObjectMethod(DataObjectMethodType.Select, false)]
        public string GetDatum()
        {
            return datum;
        }
    }
}